setting up a sound buffer.